package com.neusoft.mapper;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface RegisterDrugMapper {
    Page<Map<String, Object>> selectPatient(String caseNumber, String realName);


    Page<Map<String, Object>> selectAllByRegisterId(Integer registerId);


    Integer updateDrugState(Integer registerId);

    Page<Map<String, Object>> selectPatientDropMedical(String caseNumber, String realName);

    Page<Map<String, Object>> selectAllDropMedicalByRegisterId(Integer registerId);


    Integer updateDropDrugState(Integer registerId, Integer drugId);
}
